﻿using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace iTeamyou.LTS.MigrationTool
{
    public class MangoCert
    {
        [BsonId]
        [BsonRepresentation(BsonType.ObjectId)]
        public string sid { get; set; }

        public string subject_id { get; set; }
        public int subject_type { get; set; }
        public string extend_info { get; set; }
    }

    public class ExtendInfo
    {
        public string id { get; set; }
        public int cert_type { get; set; }
        public string cert_name { get; set; }
    }
}

